Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add native TypeScript support using k6pack library #3710

Closed
wants to merge 1 commit into from

Conversation

szkiba
Copy link
Contributor

@szkiba szkiba commented Apr 24, 2024

What?

Introduce "enhanced" compatibility mode for k6pack bundling of test script. The result is native TypeScript support for files with ".ts" extensions and enhanced ES compatibility for files with ".js" extension.

The integration happen in test loading phase, so archive will contain the bundled script.

Why?

Implement #3703

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

#3703

Introduce "enhanced" compatibility mode for k6pack bundling of test script.
The result is native TypeScript support for files with ".ts" extensions and
enhanced ES compatibility for files with ".js" extension.

The integration happen in test loading phase, so archive will contain the bundled script.
@szkiba szkiba linked an issue Apr 24, 2024 that may be closed by this pull request
@szkiba szkiba removed a link to an issue May 13, 2024
@mstoykov
Copy link
Contributor

I am closing this as the alternative #3738

@mstoykov mstoykov closed this May 29, 2024
@szkiba szkiba deleted the feature/3703-native-typescript-support branch May 30, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants